﻿@using Ids.Web.Security
@using Novagoal.Website.WebApp.Helpers
<div class="navegation">
    @if (User.Identity.IsAuthenticated)
    { 
        <div class='header'>
            <a href="/Users/MyAccount">
            <span id='username'>@Context.GetSecurityContext().User.Name</span> (
            <span id='role'>@Context.GetSecurityContext().User.Role</span>)
            </a>

            &nbsp;|&nbsp; 
            @Html.ActionLink("Logout", "Logout", "Access")
        </div>
        <br />
        @Url.CreateMenu(Context.GetSecurityContext().User.Role);
    }
</div>
